@echo off 
if "%ExportType%"== "Project" exit 0
::android工程构建
if not exist %var_output_project% exit 1

set part=project
echo %buildType%|findstr %part% >nul
if %errorlevel% equ 0 (
	goto Execute
) else (
	goto Skip
)

:Execute
if "%ExportType%"== "Aab" (
	goto GradleAAB
) else (
	goto GradleAPK
)

:GradleAPK
::gradle assembleDebug
::gradle aR
cd %var_output_project%
gradle aR
echo 构建gradle工程完毕

:GradleAAB
::gradle assembleDebug
::gradle aR
cd %var_output_project%
gradle bundle
echo 构建gradle工程完毕